﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VH.SharePoint.Api.MetaWeblog;
using VH.SharePoint.Api.Queries;

namespace VH.SharePoint.Api.Repositories.Mock
{
    public class MockMediaRepository : MediaRepository
    {
        public override IEnumerable<MediaObjectInfo> FindAll()
        {
            throw new NotImplementedException();
        }

        public override IEnumerable<MediaObjectInfo> FindAll(QueryConstraints<MediaObjectInfo> constraints)
        {
            throw new NotImplementedException();
        }

        public override MediaObjectInfo Get(string id)
        {
            throw new NotImplementedException();
        }

        public override void Create(MediaObjectInfo entity, byte[] media)
        {
            entity.Url = "http://blueltvh-01/blog/Lists/Photos/050113_1338_Welcometoyo2.png";
            entity.Id = "0";
        }

        public override void Update(MediaObjectInfo entity)
        {
            throw new NotImplementedException();
        }

        public override void Delete(MediaObjectInfo entity)
        {
            throw new NotImplementedException();
        }

        public override void ValidateUser(string username, string password)
        {
            
        }

        public override void Update(MediaObjectInfo entity, byte[] media)
        {
            throw new NotImplementedException();
        }
    }
}
